/* Copyright 2024 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #import=./cr_shared_vars.css.js
 * #scheme=relative
 * #css_wrapper_metadata_end */

.spinner {
  --cr-spinner-size: 28px;
  mask-image: url(//resources/images/throbber_small.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: var(--cr-spinner-size) var(--cr-spinner-size);
  background-color: var(--cr-spinner-color, var(--google-blue-500));
  height: var(--cr-spinner-size);
  width: var(--cr-spinner-size);
}

@media (prefers-color-scheme: dark) {
  .spinner {
    background-color: var(--cr-spinner-color, var(--google-blue-300));
  }
}
